//
//  AuctionCollectionViewDelegate.h
//  MyNewProject
//
//  Created by 王春辉 on 2019/12/22.
//  Copyright © 2019年 sun. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "AuctionCollectionViewCell.h"

NS_ASSUME_NONNULL_BEGIN
@class AuctionSellDataModel;
typedef void (^AuctionCollectionViewDidSelectAtRowIndexPathBlock)(NSIndexPath *indexPath);
typedef void (^AuctionCollectionViewShareButtonClickBlock)(NSIndexPath *indexPath);
@interface AuctionCollectionViewDelegate : NSObject<UICollectionViewDelegate, UICollectionViewDataSource>
@property (nonatomic, strong) NSArray <AuctionSellDataModel *>*dataArray;
@property (nonatomic, weak) __kindof UIView *headerView;

/// 倒计时结束回调
@property (nonatomic, copy) void(^countDownEndBlock)(void);
/**
 分享按钮点击回调block

 @param block block
 */
- (void)shareButtonClockBlock:(AuctionCollectionViewShareButtonClickBlock)block;
/**
 cell点击回调block

 @param block block
 */
- (void)didSelectItemAtIndexPathBlock:(AuctionCollectionViewDidSelectAtRowIndexPathBlock)block;
@end

NS_ASSUME_NONNULL_END
